import { createRouter, createWebHistory } from 'vue-router';
import HomeView from '../views/HomeView.vue';
console.log('import.meta.env.BASE_URL', import.meta.env.BASE_URL, import.meta.env);
const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL),
    routes: [
        {
            path: '/',
            name: 'home',
            component: HomeView
        },
        {
            path: '/about',
            name: 'about',
            component: () => import('../views/AboutView.vue')
        },
        {
            path: '/update',
            name: 'update',
            component: () => import('../views/UpdateToast.vue')
        },
        {
            path: '/office-viewer',
            name: 'officeViewer',
            component: () => import('../views/OfficeViewer.vue')
        },
        {
            path: '/office-example',
            name: 'officeExample',
            component: () => import('../views/OfficeViewerExample.vue')
        },
        {
            path: '/simple-office',
            name: 'simpleOffice',
            component: () => import('../views/SimpleOfficeViewer.vue')
        }
    ]
});

export default router;
